package com.example.zxw.net.result

sealed class CommonResult<out R> {
    data class Success<out T>(val data: T, val isCache: Boolean = false) : CommonResult<T>()
    data class Error(val exception: Exception) : CommonResult<Nothing>()
}